package com.dailyblue.java.project.bookstore.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;

@Data
public class Category implements Serializable {
    @TableId(type = IdType.AUTO)
    private String id;
    private String name;
    private Integer sort; // 排序字段
    private Integer state;
    private String createTime;
    private String updateTime;
    @TableLogic(delval = "1", value = "0")
    private Integer isDeleted;
}
